<template>
  <div id="scroll-board">
    <dv-scroll-board :config="config" />
  </div>
</template>

<script>
  export default {
    name: 'ScrollBoard',
    data() {
      return {
        config: {
          header: ['时间', '信息'],
          data: [
            ['2019-07-01 19:25:00', '企业养老发放完成'],
            ['2019-07-02 17:25:00', '机关养老发放完成'],
            ['2019-07-02 17:25:00', '失业发放完成'],
            ['2019-07-02 17:25:00', '工商发放完成'],
            ['2019-07-02 17:25:00', '城乡居民发放完成'],
            ['2019-07-02 17:25:00', '灵活就业发放完成'],
            ['2019-07-02 17:25:00', '医保发放完成'],
          ],
          index: true,
          columnWidth: [50, 170, 300],
          align: ['center'],
          rowNum: 7,
          headerBGC: '#1981f6',
          headerHeight: 45,
          oddRowBGC: 'rgba(0, 44, 81, 0.8)',
          evenRowBGC: 'rgba(10, 29, 50, 0.8)',
        },
      };
    },
  };
</script>

<style lang="less">
  #scroll-board {
    width: 50%;
    box-sizing: border-box;
    margin-left: 20px;
    height: 100%;
    overflow: hidden;
  }
</style>
